RewriteEngine On

# If this project is hosted at the domain root and public/ is not the document root,
# redirect all direct root requests to /public
RewriteCond %{REQUEST_URI} !^/public/
RewriteRule ^ public/ [L]

Options -Indexes
<IfModule mod_php7.c>
    php_flag display_errors On
</IfModule>

